package com.letoken.platform.repo.ecommerce.vo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "新商家售后订单记录")
public class StoreAfterSaleOrderRes implements Serializable {

    private Integer id;

    @ApiModelProperty("订单编号")
    private Integer orderId;

    @ApiModelProperty("订单编号")
    private String orderNo;

    @ApiModelProperty("售后流水号")
    private String seqNo;

    @ApiModelProperty("售后流水号")
    private String title;

    @ApiModelProperty("商品名称")
    private String productName;

    @ApiModelProperty("商品图片")
    private String pic;

    @ApiModelProperty("退款金额")
    private BigDecimal refundAmount;

    @ApiModelProperty("退款数量")
    private Integer refundQuantity;

    @ApiModelProperty("商品让利值")
    private BigDecimal contributing;

    @ApiModelProperty("退款总金额")
    private BigDecimal totalRefundAmount;

    @ApiModelProperty("退款原因")
    private String reason;

    @ApiModelProperty("货物状态 0未收货 1已收货")
    private Integer goodsStatus;

    @ApiModelProperty("退货地址")
    private String shippingAddress;

    @ApiModelProperty("店铺名称")
    private String  ecommerceName;

    @ApiModelProperty("店铺名称")
    private Integer userId;

    @ApiModelProperty("申请售后时间")
    private LocalDateTime createTime;

    @ApiModelProperty("售后完成时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("1退货 2退货退款")
    private Integer type;

    @ApiModelProperty("售后状态：0->申请售后；1->申请成功； 2->拒绝 3->取消售后")
    private Integer refundGoodsStatus;

    private Integer refundStatus;

    private Integer status;

    private String approveReason;
}
